package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品消息
 * </p>
 *
 * @author gmx
 * @since 2023-06-12
 */
@Getter
@Setter
@TableName("h2_product_mes")
@Schema(name = "ProductMes", description = "商品消息")
public class ProductMes implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @Schema(description = "商品id")
    private Long goodsId;

    @Schema(description = "sku_id")
    private Long skuId;

    @Schema(description = "0:未处理，1已处理")
    private Boolean status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}
